<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!-- <style>
        div {
            color: #00ff00;
        }
    </style>

    <div>
        这是一段话
    </div> -->

    <style>
        .one {
            text-align: left;
        }
        .two {
            text-align: center;
        }
        .three {
            text-align: right;
        }
    </style>

    <div class="one">
        这是一段话
    </div>
    <div class="two">
        这是一段话
    </div>
    <div class="three">
        这是一段话
    </div>
</body>
</html>